const tableServices = require('../services/tableServices');

exports.getCurrenTableUsers = async (req, res) => {
    try {
        const users = await tableServices.findTableUser(req.query);
        res.status(200).send(users);
    } catch (error) {
        console.log("Error: " + error);
        res.status(500).send(error);
    }
}